package com.allenkerr.model;

import java.util.Arrays;

/**
 * Created by 小柯 on 17/6/28.
 */
public class Bag {

    private Integer bagId;
    private String bagName;
    private String[] color;

    public Bag() {
    }

    public Bag(Integer id, String bagName, String[] color) {
        this.bagId = id;
        this.bagName = bagName;
        this.color = color;
    }

    @Override
    public String toString() {
        return "Bag{" +
                "bagId=" + bagId +
                ", bagName='" + bagName + '\'' +
                ", color=" + Arrays.toString(color) +
                '}';
    }

    public Integer getBagId() {
        return bagId;
    }

    public void setBagId(Integer bagId) {
        this.bagId = bagId;
    }

    public String getBagName() {
        return bagName;
    }

    public void setBagName(String bagName) {
        this.bagName = bagName;
    }

    public String[] getColor() {
        return color;
    }

    public void setColor(String[] color) {
        this.color = color;
    }
}
